package main

import "fmt"

func main() {
	min, max := func(a, b int) (min, max int) {
		if a <= b {
			min = a
			max = b
		} else {
			min = b
			max = a
		}
		return
	}(10, 20)
	fmt.Println("min =", min, "max =", max) // min = 10 max = 20
}
